Fixed importing from URL, swapped to regex for command matches