setting up init script