added registration script