Add a function that translate old options to the new forat

Keep backward compatibility