Settled on how the timestamp is done. Moved JDBC connection string to file pg_connection(_template).txt