properly pass app_name to daemons