Working variable in recipe and templates. Cleaned code and comments