Bug fix

Line:134 (old 136) Do not overwrite $debug variable before execute exec() method.
Removed unused variables.