options now work properly, fixed #3