Add conditions to actions