Adapted for debian packaging