Added some code to determine the current week day. The variable current_weekday is an integer with the current week day (monday is 1)