Changes to corner usage.

Script now uses a random available corner.