added option check to getlavaca script