automatic dependency setup