wrap bundle call in a bundle check

Checks if bundle needs to run, and runs it if it does.