[#312]Refactor - enable bash functions