Fixing an issue with the script not recognizing the '--topic' flag.