fixed register script to reflect the fact that it's just a scrpt now