initial configure script for postgresql databases