Added a sample shell script

Fixed timestamp storage as well