add option for discont on startup in hls, added comments