modify doc to execute with bundle