functioning reddit script