Updated build files and fixed patient report bug