Re-added mobile OS detection script