Changed permissions of files & Added RawQuery support.