Rudimentary register script for testing purposes