updated build script for backend code