adding figaro and changing the sudo method