Removed debug print
Updated command-line argument parsing logic