Fix to save/load history
Support for targets in webbrew config