require optparse for server