making init script more easy to use