added active process saving