refactor image mount code