Change seconds to msec for windows_min and windows_max parameters. Indentation.