Issue 347: bug fixed, now scripts can be loaded correctly