better explaning how the scripts work