tweaked to better support other pages

Keep in mind that the USER sets whether to use styles.php ...