Modifed the input output to actually be able to run cobratf