removed unused imports
grab the correct argv