added record scripts