updated scratch file