Create a script to find upstream dependencies