Adding page actions and scripts