Update refactor.uc

Improved support for optional args