Added linux support (needs testing) (both 500p and 1000p versions)