fixed stdin
renamed php files