Added basic UI script for programmatic bar control.