fixed copy-artifacts.sh
fixed scripts
fixed /tmp directory creation