OS setup scripts and debugging