Coding bugs cleaned out of script (we think...).