added code dir, etc.