[CLEANUP]: Moved mask comments to above initialization. Removed premature usage of daemonize function