Option to disable loop