fixed log writes, also adding bundler to try and fix server side