Init application scripts.
Fix tabs.