Snap command

Basic code for snap command. Not incorporated into a function.