helpful scripts and snippets