Added configuration support
Fixed barnding positioning