Added -x to scripts for easier debugging.