Various updates to scripts.