clearing some files and set config values