common.sh, bug fixes, need to add temp pref directory, delimiter to pass .arf file to use for pref