cleanup, fixed init script, ready for hacking