output folder, bug fixes