Fixed issue with load script not returning correctly.