updated platform conditionals