Removing unused scaffolding images