Added flags for localhost/production settings.
Merge branch 'production_flag' into develop