Improving init script