fix: scala support and usercode loading refactor were breaking reloading (#890)