Modified the run phase to script to check if the build products have been built before attempting to copy them