Added subtiution variables to the config file..
For example:

root=/home/greg
data=$root/data
img=$root/img