Fix order of scripts.
Install programs only when not present.