Rewrite cfg if starting from working dir