Fix broken behaviour when run without arguments