add init script and default file