We do not review or debug complete scripts on request. You should ask a specific question about a particular issue you have with your code.
And while it is ok to share some code by providing a link to it you should ask you question here in the forum, please. In addition, your subject should ideally give a hint about the topic of the actual question.
Thanks in advance.