Trying to fix psycog2 issue for running on AWS EB. Changed database pointing to remote db.