Move the require statement for optparse

Signed-off-by: David Celis <me@davidcel.is>