Added another cli option for setting config attributes
Fixed some errors