Added sleep() function to system.d