added job saving functionality