Made program work without command-line arguments