scripts from ch1