updates source value to a hash of regular expression keys matching an OS paired with OS specific commands