split the postinstall-noha.sh into three scripts and modification to postinstall service to support the postinstall-noha script split