added --appname option to set the cascading application name