Modified run_script.py for edf-naive and sdbf-naive