Adding init script for discovery
Bugfix, small refactor