intermediate commit

working on the php script