turned server into daemon