Added Code for Speedrunmode