implement build env vars

remove secure parameters stuff as it's not implemented yet