fix for paths in (user_)threaded.sh