Script registration