Adding platform dectection function