Repaired I/O pathways for scripts and updated for current configuration