added more platforms and implemented xml parsing