add new php script for stats