new assets and minor code changed

code changed to accommodate new css arguments