implement priority level for actions

the priority is used only for the first action on the execution file.