Optimized the fetch from the post build script