make the script non-blocking