add job interval type and correct bugfixes