Split register into two methods for script/ttl
No need for pp