add date calculate script. cal begin and end of week separated by a day of week
fix shebang in ruby script