Cheers to RsrchBoy for chmod support.