add co and thunkify
add shebang
clean off trailing spaces