move the vars from command to daemon