removing non-plugin related code from bottom of file