adds script dependencies