create an init script