Adding debug variable, Adding seccess message.