updates to server.app detection logic