Update script grabbing servInfo

Changed "if/else if" to switch statement