update gitignore, refactor recipe