Improve projects.py