updated limit and limit table scripts