Add region commands and fix region functions