Update system.py to get the operating system as a commandline argument
Update main script to support commandline argument passing.