change working dir based on boot.js