added .x number recognition to command line parser