add chosing OS and cleaning up data complile and load