it needs to be comma separated with the user= and other options that we start building below.  I moving this if/else block down below teh name= stuff below will fix it, or you can make this " ro"/" rw" and change the below to ",user=" so that the options are built properly.