modify_flex_prms function

Set Instructions to a flex_prms object