added migrations to remove unused applications