Added config for block generation and made some things more effiecient