Use dofile to ensure world-local variables are reset