updating remove app to use chosen application and environment