Make --attach case-insensitive