script prototype