Implement program name function