update main for commandline argument passing