final changes for groovy loading and large notebook loading