extension script and tests added