fix for script