redactor in main script file of