added init script for autostart