Fixed documentation script