Replaced the deprecated args by the new ones in sys.argv.