a few script in order to compute polyphasic sleeping times