Fixed setup script to accept app name argument from command line.