Fix scripts.
Remove useless stuff.