added ability to run if month is not an integer but a string instead