making daemon, killing zombies and running server from run.pl as a script