fixed code for pulling from generic application servers