move deps check into install