put install code into a script that can be used without the rpm too