Modified scripts for scratch