Debug

Now the script should be debugged after refactor. @mat_jack1 let me say something ;)