break up postinstall.sh into modules