fix loading issue w/ scripts