resolve engine config path before chdir

	 resolve engine config path before chdir