first few scripts, all bash i think