script rubic