Modified beam macro file to include changed references