JagOut to JagIn script