Update variables and remove unnecessary public files.