add merge option with shared directory