added easier config and fixed more bugs with paths