local signal = POS(-4626,7,-6616)
if event.train and atc_arrow then
	if F.has_rc("BFT_shunt_platforms") then
		local control = {"A0S0WD2RA1"}
		if F.has_rc("BFT_shunt_Platform1") then
			set_route(signal,"SHUNT Platform 1")
			control[2] = "S3CplS1"
		elseif F.has_rc("BFT_shunt_Track2") then
			set_route(signal,"SHUNT Track 2")
			control[2] = "S3CplS1"
		elseif F.has_rc("BFT_shunt_around_Track2") then
			set_route(signal,"Around via Track 2")
			control[2] = "S4"
		end
		control = table.concat(control,"")
		atc_send(control)
		return
	end
end