Upload function script and update to read script

Updated read script with new detailed header.