Updated prepare.sh

More fixes for directory create and printing lines.