fixed tabbing and added get_option etc