updating main script to work without args