Fix main() so it actually runs files
Extract a new runCommand() function
Don't export anything