Added a check to cycle plugin