Fix bug not grabbing corresponding script snippet properly.
Merge pull request #24 from roblevintennis/hotfix_adjacent_script_snippet

Fix bug not grabbing corresponding script snippet properly.