Added the basic dependency checking