updates to support cgis