refactored feature to use url rewriting instead of image copying