Fixed major bug and added command line args