add build script for back-end