add ap and setup printing to heroku console