Add saving feature to stored programs