Added Mac 0SX Functiality
Added automatic platform checking so that there is no need to be
prompted.