updated installer
added checks