WIP: initial work on the freeze command