XD-123 - XD scripts lib path needs to be dynamic

add looping construct to dynamically add jars to CLASSPATH