Rename debug.sh to functions/debug.sh