Config for schedulers, shebangs, minor refactor.