added save commands at bottom