FIX: Fixed error message when a program is run directly