Split postinstall.sh into multiple scripts