Improved debian script.
Fixed packaging script issue.