Check for arguments before running command