Build script trimming