fixed line endings
updated to current plugin best practices