Contains codes from SszarkLabs plugin to Wordpress