Adding rest command