Fixed bug in script_checkopts() which prevented the use of quotes in command line arguments