Simplify scripts, finalize settings.