updated main.js to accept DBN number