added util.sh, to store functions for logging and similar