adding --prefs for custom prefs (also needs cleaning)
version 0.0.16