Fixed bugs

* refactored standard recipe to work properly with lib
* added SIGINT handling into the script
* fixed template parsing