Fixed the weak scaling script