css update and removed ugly bash function declaration