Script to help with registration