added debug.sh file

preloads and stuff