Minor script changes to try better marking of territory