fix documentation script