updated and corrected scripts<Praveen>