Combined directory code with vision code