Implemented platform selection.