fix app variables and sharing url for c9