creating init script