Add app generation shell script. #851