modifying reddit script