Refactor in action lib
Added parameter set directive