removed unused things
Make debian script ubuntu compatible
Minor changes