In prepare.sh make sure we create all needed directories before copying