Add logic to allow bundled scripts to be created within a directory
hierarchy inside the `scripts` directory in the bundle.