allow for input of r script name w/ or w/o .R extension