Importing svg fonts and images devided into two fuctions