Added trim to build, no need of setting the metadata-read-only flag