split scripts for troubleshooting