added php script for meta data