Improve the copying scripts.