Fixed bugs and updated configuration.