added timeout to user scripts