Add flag that a custom reference has been applied