modified template to make use of custom bash functions
added skeletons of these