Snippet additions and improvements by @SDEagle, Thank you Tim
