postgres and init server shell scripts upgraded