new scripts for getting week id based on mon~sun weekday convention