start of common bash functions
lims ostask stuff