Update example for loading script dependencies