run-cmd implementation complete
updated builders to use run-cmd
merge from cmd-function