renamed main and config