Fixed skins outside of theme directory
Fixed static function issue