change from ubuntu to debian and with better config