Added option to specify version