Validate program before usage