auto_cd and theme improvements