fixed scripts again