removing non-plugin related code from end of file