Added config directory.
Fixed no attack bug.