Improve export filename. Improve url handling.