Use optparse instead of argperse, compatible with python 2.6 now