Changed the BatchUnwarp.sh for running only one subject. Modified scripts to make some small attempt to detect what platform they are running on and set environment variables accordingly.