Fixed script and added missing file