Move conditions code from out of process.rb