add prestart and postinstall scripts into package.json file