updated studio; now loops through multiple files