add setting the platform based upon key