Adding some code to functionrc