timeout should be in seconds; add a shebang line