Corrected scripts for testling