Remove obsolete week calculations, create duration-trigger script