app to daemonize the script