Updates install script to check for dependencies