Adds looping scheduler
Changes and stuff