adds strip command to uploaded images