Support for a global script using thor.