fix init script and add help message