Splitting out rstgen functionality to allow minimal script.  Adding Windows cmd script.