Changed category to mesh and fixed some issues with parameters