in production env, set up the correct path to config and script using process.env