Can you post the script, if it's not secret? I can then most likely see where the drawdown happened.