clean up script added and rights changesd'