Added dynamic script loader