Change Appcontext to Auto protype