removed prints and imports from legacy apps