added script to register app locally