fix #8 Possibility to customize the application environment in template conversion

Close #9