added config file selection and environment for multiple pages