resize background, remove unneeded files