British author Nick Hornby has signed up to write the script for Reese Witherspoon's new movie, a drama based on Cheryl Strayed's book Wild.