save PPL code