Adding setup scripts and getting it working