Fix script run