add envelope macro for jetphox