Use optimist for flag parse. Fix --source relative paths.