Added setup command and made lookup work sanely. #15