Allow set up bar parameters at runtime