modifying python app