added option to play sounds or not