Updated scheduler to check disk space before copying current image