fix permissions
add utility function to generate distinct random colors