Tight eficient process manager driven by external script