Added delsnapall function