add init script and grunt task