added print line for port
Bifurcated code for heroku versus localhost.
corrected typo in last commit.
ACTUALLY corrected paren placement in last commit.
modified file to create db if one didn't exist previously