Added code for making alphasweeps