Fix for scripts