RF: add utils update scripts
RF: move functions to utils, update scripts