code clean up + gif files