improve way of configuration

Signed-off-by: Lehner Florian <dev@der-flo.net>