Finally got it working on heroku app