Updated the deployment script to ensure that the mod_deploy folder exists before attempting to copy files to it.