Fixes scripts.