cleaning scripts for notebooks