added stdout sync for heroku puts logging
more logging