fixed COPY_DIR in bscript