modify files in order to use cloggin instead of loggin library