added settings dir attr
added repo munging for lesscpy