scripts handle different versions properly