Add -o option to let users select an output directory