changed snippets to a text file so they don't mess with actual script variables.
moved some things around.