Modify bundle script to work on Linux