adding script handler
adding user rules