Added auto pause system