Add option to override config file location
Fix relative directories which didnt work when daemonised