Make program runnable from command line