Field edge update

back here with the last version of 'fields.lua' from the master pull request