Implement run functionality and add GPL notices