Updated to work properly with bookmark

Updated code to properly work with bookmark file and not use it even
when suppose to be turned off. Also updated to set line_num to 1000 in
script if not set otherwise would fail without telling you as this value
is required.