started to load scripts dynamically. DOES NOT WORK RIGHT NOW.