Updated getsources script.