fixed bug in dependency check, updated README