Updating bash scratch file