fix for script dir