Script/doc cleanup