Added option to change forecast length