front-end fixes and switched back to using config file instead of environment variables