changing to daemon application