successfully modularized prob 6 script
got the set2 pics rendered