clean up and update osx config script
add plack webserver function