Update cli script installed by composer.

This makes that script work again, and allow App dir to be modified
through the -app flag.