Fix script load