fix, load scripts properly