added option to turn off automatic divs