fixed bug with copy.sh