Updated end commands