Improved slug plugin