fix non-debug broken because scripts not copied to dist