Fix extension to script call