Prepare foundation libs, folder cleaning