fix local dir issues in start script