Updated code to accept URLs from command-line