Initial commit of index posts script