Added spawning of certain directory-dependent processes