[new] Added usage message

When the wrong number of arguments are given, a usage message
will be printed and the script will exit.

Also a small refactoring has been done: script variables have been
given descriptive names.