Removed flags, simply assigned target values directly as per mjschranz's advice