Daniel James Brown decided to adapt his book after an increasing number of young people told him they loved the story.
A U.S. District judge in Chicago has ordered that 18-year-old Abdella Ahmad Tounisi of Aurora, Illinois, continue to be detained on terrorism-related charges.
The decision by U.S. District Judge Edmond Chang reverses a decision made a day earlier by a magistrate judge to release Tounisi to house arrest, with electronic monitors.
That decision was put on hold yesterday, after prosecutors quickly submitted an appeal.
Chang agreed with prosecutors that the teenager poses a danger and is a flight risk.