Cannot call get_command_url in get_command_url