added mRNA validity testing and functionality of the -o argument