Changed permissions of some db scripts