extract shell script into its own file

makes packaging on other distros (e.g. Arch Linux) easier