Fix paths when using specific configuration file