setting the config for heroku and extract the data out