implement dependeties check in script