improved manual setup and fixed some bugs. Moved more hardcoded defaults
to config file.