Fix script declaration