create variable for alertdays to make testing easier.

if you want to test and always receive alert then make ALERTDAYS a very large number