script to gather dependencies