Fixed scriptcore not being able to load #619