Added wait_pgsql script to wait postgresql to be available #14