changes to main.php and common.css