removed debug flag (was used for non daemonized)