Moving function __system_load from theme to plugin