Adapted the script to the left border addition.

Fixes #367