refactored config and logo