Refactor the source code of pgconf.sh.
Prevent pgconf.sh from opening the configuration file in background
if the operating system that it's running on is Mac.