Add pencil config
Add better comments