add appname as arguments to automation script