started implementing php scripts