More work on blocks + configuration file