Finished the command that is capable of creating regions.