add save prefix, add type to retroTS, use Getopts::Long