adding experimenttal script support for dynamically loading classes.