Added global functions, added to settings