make bean copier smarter