Fix script to set up postgres for development and test