Further update Heartbeat + filesystem

made sure the mgf files are copied to the filesystem