Configures ECB properly