Adding transit, fixing output

PHP modifications, getting everything up to date.