development and production in config
change config to global property