fixed compile errors + added srec files