added a shell debug script