added support for system variables like sysLocation and for custom