Added initial version of recording script.