How to move from physical to virtual permits