Made functions.py fun FOREVER (with option to not be forever)!