Updated heroku maintenance script
Migrated from node-postgres to node-postgres-pure