changed setup approach and added its dangerous.py for security concerns