scripts/gists lil' refactored

make functions/events name correspond to their behaviors