try to make the script more general Refs #7803