Fixed style file requests
Fixed error in galley flag detection