cleaned up extension, made unsupported platforms work properly