Thanks for the script - it's certainly an additional motivation to implement the user-defined bars soon.