Fix command_path for paperclip.
Fix picture factories.