fixed debian init scripts and remove_functions placement