removed console logs and added delete css rule functionality when wanted