Corrected few scripts