Corrected the scripts in base