Fixed requiring of sub-scripts in threads - now also works when packaged as .love.