added recording script