Fix script loading regression. Closes #13