add in sql file function jobs in blocks