Added debug print to the prepare-script