The money will be used to replace a bridge on Veterans Memorial Highway and to expand the Long Island Greenway.