Can you move the imports inside the source function. Reloading should work there as well.