Made scripts work