Added option for showing captions