Added command line arguments and made the output usable