Fixed insecure scripts