fix loading dot script