add outputdir param (-o) so that the static files can be optionally put somewhere else