Bug fixing: shared is only considered when user sets the flag in the command line