Fixed some small mistakes in the script.

The motivation is still missing and the title should be changed.