Only attach in top-level shell