Have inner and outer coordinates now.
Finished including new offsets.
Renamed script.