update script to copy the php