Modularize scriptor