Improving init script.