removed plugin start and end code