Fixing exe copy bug