added script to register services
added script to register services