added self-install check