move check for attributes to recipe so they aren't triggered when not running this recipe