Fix typo
Refactor PGUSER and PGGROUP into config
Use PGUSER and PGGROUP on scripts using chown