Removed usage of extglob, which became unnecessary.