Basic setup - fixed logging issues