Added snapchat functionality to input.py