Revising the Scoop code