Handle /chart/ & turn on debug flag