Some organisation of the script blocks