register views and scripts, hashing