change default port to 80
add code for supporting parameters