script exits if no argument provided