fixing decorator methods order
fixing decorator method order for the other functions
bug fixing reset view count and adding a script to execute this function