modify the install script and add run script