Add the read function to the global environment