initProject.sh - refactored showing messages into a function