added type to save command
added type to save command
updated constants