Some more functions to system.py