Make daemon skeleton to work