fixed bug in raid script + improved GP prepare