add support for specifing settings file

This is needed for production deployments