new postinstall script
postinstall refactor