Updated documentation script to remove old files