change context for loaded functions

I think it's more useful to have `instance` as `this` inside a function instead of information about file