Adding option --exportOnly (for scripting)