dynamicized the "dist" directory to use the appConfig settings