added command line args to determine program behavior