Now script uses system's /tmp instead of ./tmp