making ghost azure friendly